Rtcl\Controllers\Hooks\Comments B

Total Complexity 80
Dependencies 2
Dependents 3
Total lines 501
Lines of code 301
Logical lines of code 160
Comment lines 136
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
check_comment_is_allowed()
A
43 13 45
wp_count_comments()
A
44 9 46
add_payment_note()
A
44 7 42
add_comment_rating()
S
58 8 13
check_comment_rating()
S
61 8 10
check_comment_title()
S
61 7 10
delete_payment_note()
S
63 4 10
add_comment_title()
S
70 4 5
get_average_rating_for_listing()
S
53 2 25
get_rating_counts_for_listing()
S
53 2 24
comment_moderation_recipients()
S
67 3 7
comments_open()
S
64 3 9
init()
S
56 1 17
get_review_count_for_listing()
S
58 1 17
exclude_payment_comments_from_feed_where()
S
78 2 3
exclude_payment_comments()
S
74 2 4
clear_transients()
S
67 2 8
delete_comments_count_cache()
S
80 1 3
add_avatar_for_review_comment_type()
S
79 1 3